<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'financialAccountMain.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
   	
   	<form action="queryfinancialaccount.action" method="post">  
        <table align="center">  
            <tr>  
                <td style="vertical-align: middle;">资产类别查询 
                    <input type="text" style="width: 300px;height: 30px;font-size: 16px" name="queryText"  value="${searchText }"/>  
                    <input type="submit" value="查询" style="width: 100px;height: 30px;font-size: 16px"/>   
                    <a href="/4L1Z/jsp/main.jsp">返回</a>  
                </td>  
            </tr>  
        </table>  
    </form>  
      
    <table align="center" border="1" cellpadding="0" cellspacing="0" bordercolor="#3366cc">  
        <tr align="center" bgcolor="#3399cc" height="26px">  
          	<td width="140">资产类别ID</td> 
          	<td width="140">资产类别</td> 
            <td width="140">财务编码</td>  
            <td width="160">入账时间</td>  
            <td width="140">是否入账</td>  
            <td width="160">入账人</td>  
            <td width="120">编辑/删除</td>  
        </tr>  
          
       <c:forEach var="finance" items="${finances }">  
            <tr align="center"  height="24px">  
            	 <td width="100">${finance.assetcatalogid}</td> 
            	 <td width="100">${finance.assetcatalogname}</td> 
                <td width="100">${finance.financenumber}</td>  
                 
                 <td width="150">${finance.recordtime}</td>  
                 
                 <td width="100">${finance.recordstate}</td>  
                 
                 <td width="150">${finance.recordid}</td> 
                <td width="120">  
                    <a href="editFinancialAccount.action?param=0&financenumber=${finance.financenumber}">编辑</a>    
                    <a href="deleteFinancialAccount.action?financenumber=${finance.financenumber}">删除</a>  
                </td>  
            </tr>  
        </c:forEach>  
    </table>  
   	
   
   
   
   
  </body>
</html>
